<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: fzh
  Date: 2017/9/20
  Time: 0:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" language="java" %>
<% String basePath = request.getContextPath(); %>
<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" href="/assets/css/form.css">
    <link rel="stylesheet" href="/assets/css/default.css">
    <meta charset="UTF-8">
    <style type="text/css">
        html, body {
            width: 100%;
            font-size: 14px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .container {
            box-sizing: border-box;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 30px 20px;
        }
        .col-content * {
            border: none !important;
        }
        .row,
        .row-large {
            border-bottom: 1px solid lightgrey !important;
            border-left: 1px solid lightgrey;
        }
        .row:first-child {
            border-top: 1px solid lightgrey;
        }
        .row .col,
        .row-large .col{
            border-right: 1px solid lightgrey;
        }
        label {
            line-height: 200%;
        }
        label, textarea{
            color: rgba(25,25,25,0.68);
        }
    </style>
</head>
<body>
<jsp:include page="../components/pageHeader.jsp"/>
<div class="container">
    <div class="form">
        <div class="row">
            <div class="col">
                <div class="col-label"><span>标题</span></div>
                <div class="col-content"><label title="标题">${guide.title}</label></div>
            </div>
        </div>
        <div class="row">
            <div class="col">
                <div class="col-label"><span>办理主体</span></div>
                <div class="col-content"><label title="办理主体">${deptP.deptName}</label></div>
            </div>
            <div class="col">
                <div class="col-label"><span>责任处室</span></div>
                <div class="col-content">
                    <label title="责任处室">${deptC.deptName}</label>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col">
                <div class="col-label"><span>办事地址</span></div>
                <div class="col-content"><label title="办事地址">${guide.addr }</label></div>
            </div>
        </div>
        <div class="row">
            <div class="col">
                <div class="col-label">办理对象</div>
                <div class="col-content">
                    <label title="办理对象">
                        <c:choose>
                            <c:when test="${guide.obj == 0}">个人</c:when>
                            <c:when test="${guide.obj == 1}">企业</c:when>
                            <c:otherwise>个人和企业</c:otherwise>
                        </c:choose>
                    </label>
                </div>
            </div>
            <div class="col">
                <div class="col-label">行使层级</div>
                <div class="col-content">
                    <label title="行使层级">
                        <c:choose>
                            <c:when test="${guide.hierarchy == 1}">乡（镇、办)</c:when>
                            <c:otherwise>县（市、区），乡（镇、街道办）</c:otherwise>
                        </c:choose>
                    </label>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col">
                <div class="col-label">权力来源</div>
                <div class="col-content">
                    <label class="text-label" title="权力来源">${guide.powerFrom}</label>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col">
                <div class="col-label">承诺期限</div>
                <div class="col-content">
                    <label class="text-label" title="承诺期限">${guide.promiseTimeLimit} 天</label>
                </div>
            </div>
            <div class="col">
                <div class="col-label">承诺收费</div>
                <div class="col-content">
                    <label title="承诺收费">
                        <c:choose>
                            <c:when test="${guide.charge == 0}">不收费</c:when>
                            <c:otherwise>收费</c:otherwise>
                        </c:choose>
                    </label>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col">
                <div class="col-label"><span>服务主题</span></div>
                <div class="col-content">
                    <label title="服务主题">${guide.serviceSubject}</label>
                </div>
            </div>
            <div class="col">
                <div class="col-label"><span>结果文件</span></div>
                <div class="col-content">
                    <label title="结果文件">${guide.resultFile}</label>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col">
                <div class="col-label"><span>咨询电话</span></div>
                <div class="col-content">
                    <label title="咨询电话">${guide.consultationTel}</label>
                </div>
            </div>
            <div class="col">
                <div class="col-label"><span>投诉电话</span></div>
                <div class="col-content">
                    <label title="投诉电话">${guide.complaintTel}</label>
                </div>
            </div>
        </div>
        <div class="row-large">
            <div class="col">
                <div class="col-label on-top"><span>阅读须知</span></div>
                <div class="col-content">
                    <textarea name="notice" title="阅读须知" readonly="readonly">${guide.notice}</textarea>
                </div>
            </div>
        </div>
        <div class="row-large">
            <div class="col">
                <div class="col-label on-top"><span>办事依据</span></div>
                <div class="col-content">
                    <textarea name="dealBasis" title="办事依据" readonly="readonly">${guide.dealBasis}</textarea>
                </div>
            </div>
        </div>
        <div class="row-large">
            <div class="col">
                <div class="col-label on-top"><span>申请条件</span></div>
                <div class="col-content">
                    <textarea name="applicationCondition" title="申请条件"
                              readonly="readonly">${guide.applicationCondition}</textarea>
                </div>
            </div>
        </div>
        <div class="row-large">
            <div class="col">
                <div class="col-label on-top"><span>申报材料</span></div>
                <div class="col-content">
                    <textarea name="material" title="申报材料" readonly="readonly">${guide.material}</textarea>
                </div>
            </div>
        </div>
        <div class="row-large">
            <div class="col">
                <div class="col-label on-top"><span>追责情形</span></div>
                <div class="col-content">
                    <textarea name="callSituation" title="追责情形" readonly="readonly">${guide.callSituation}</textarea>
                </div>
            </div>
        </div>
        <div class="row-large">
            <div class="col">
                <div class="col-label on-top"><span>追责依据</span></div>
                <div class="col-content">
                    <textarea name="callBasis" title="追责依据" readonly="readonly">${guide.callBasis}</textarea>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col">
                <div class="col-label"><span>办理流程图</span></div>
                <div class="col-content">
                    <c:choose>
                        <c:when test="${guide.flowChart == ''}"><img src="${guide.flowChart}" alt=""></c:when>
                        <c:otherwise>无</c:otherwise>
                    </c:choose>
                </div>
            </div>
            <div class="col">
                <div class="col-label"><span>支持在线申报</span></div>
                <div class="col-content">
                    <label title="在线申报">
                        <c:choose>
                            <c:when test="${guide.online == 0}">支持在线</c:when>
                            <c:otherwise>不支持在线</c:otherwise>
                        </c:choose>
                    </label>
                </div>
            </div>
        </div>
        <br>
    </div>
    <div>
        <div>
            <div style="width: 120px; text-align: center" class="btn btn-success" onclick="check()"><span>点击申报</span>
            </div>
        </div>
    </div>
</div>
<jsp:include page="../components/pageFooter.jsp"/>
</body>
</html>
